package com.zjxf.base.bean.ro;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 农副产品分类
 *
 * @author ZhangWei
 * @date 2021/4/6/006 16:38
 */
public class RoPmsAsProductClassify {

    @Getter
    @Setter
    public static class Details{

        /**
         * id
         */
        private Long id;

        /**
         * 分类名称
         */
        private String name;

        /**
         * 是否在导航栏显示
         */
        private Integer navStatus;

        /**
         * 显示状态
         */
        private Integer showStatus;

    }

    @Getter
    @Setter
    public static class Page{

        /**
         * id
         */
        private Long id;

        /**
         * 分类名称
         */
        private String name;

        /**
         * 是否在导航栏显示
         */
        private Integer navStatus;

        /**
         * 显示状态
         */
        private Integer showStatus;

    }

    @Getter
    @Setter
    public static class ListWithChild {

        /**
         * id
         */
        private Long id;

        /**
         *分类名称
         */
        private String name;

        /**
         * 其下属性
         */
        @JsonInclude(value= JsonInclude.Include.NON_NULL)
        private List<ListWithChild> listWithChild;
    }
}
